package com.javasm.sys.dao;





import com.javasm.commons.entity.LoginQuery;
import com.javasm.sys.SysLoginLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysLoginLogMapper {
    int deleteByPrimaryKey(Long infoId);

    int insert(SysLoginLog record);

    int insertSelective(SysLoginLog record);

    SysLoginLog selectByPrimaryKey(Long infoId);

    int updateByPrimaryKeySelective(SysLoginLog record);

    int updateByPrimaryKey(SysLoginLog record);
    List<SysLoginLog> getLoginLog(@Param("query") LoginQuery loginQuery);

    List<SysLoginLog> selectAll();
    void batchDeleteLog(@Param("ids") Integer[] ids);
}